package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * 用户的基本信息
 */
@ApiModel(description = "用户的基本信息")
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class AccountAttendInfoUser   {
  @JsonProperty("image")
  private String image = null;

  @JsonProperty("name")
  private String name = null;

  @JsonProperty("code")
  private String code = null;

  @JsonProperty("official")
  private String official = null;

  @JsonProperty("service")
  private String service = null;

  public AccountAttendInfoUser image(String image) {
    this.image = image;
    return this;
  }

  /**
   * 头像
   * @return image
  **/
  @ApiModelProperty(example = "http://sdfsdf.jpg", value = "头像")


  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }

  public AccountAttendInfoUser name(String name) {
    this.name = name;
    return this;
  }

  /**
   * 张三
   * @return name
  **/
  @ApiModelProperty(example = "姓名", value = "张三")


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public AccountAttendInfoUser code(String code) {
    this.code = code;
    return this;
  }

  /**
   * 职业编号
   * @return code
  **/
  @ApiModelProperty(example = "454615654", value = "职业编号")


  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public AccountAttendInfoUser official(String official) {
    this.official = official;
    return this;
  }

  /**
   * 个性文案
   * @return official
  **/
  @ApiModelProperty(example = "445645645", value = "个性文案")


  public String getOfficial() {
    return official;
  }

  public void setOfficial(String official) {
    this.official = official;
  }

  public AccountAttendInfoUser service(String service) {
    this.service = service;
    return this;
  }

  /**
   * 服务范围
   * @return service
  **/
  @ApiModelProperty(example = "454615654", value = "服务范围")


  public String getService() {
    return service;
  }

  public void setService(String service) {
    this.service = service;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    AccountAttendInfoUser accountAttendInfoUser = (AccountAttendInfoUser) o;
    return Objects.equals(this.image, accountAttendInfoUser.image) &&
        Objects.equals(this.name, accountAttendInfoUser.name) &&
        Objects.equals(this.code, accountAttendInfoUser.code) &&
        Objects.equals(this.official, accountAttendInfoUser.official) &&
        Objects.equals(this.service, accountAttendInfoUser.service);
  }

  @Override
  public int hashCode() {
    return Objects.hash(image, name, code, official, service);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class AccountAttendInfoUser {\n");
    
    sb.append("    image: ").append(toIndentedString(image)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    code: ").append(toIndentedString(code)).append("\n");
    sb.append("    official: ").append(toIndentedString(official)).append("\n");
    sb.append("    service: ").append(toIndentedString(service)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

